#include <iostream>
using namespace std;


int main()
{
	int N; cin >> N;
	int M, D, C;
	
	for (int i = 1; i <= N; i++)
	{
		cin >> M >> D >> C;
		if ((M >= 7) && (D >= 12))
		{
			cout << "Too late!" << endl;
		}else if ((M <= 6) && (N <= 20))
		{
			if (C > 1800)
				cout << "^_^" << endl;
			else if (C == 1800)
				cout << "Ok!" << endl;
			else if (C < 1800)
				cout << "Need more!" << endl;
		}else if ((M == 6) && (N > 20))
		{
			if (C > 2000)
				cout << "^_^" << endl;
			else if (C == 2000)
				cout << "Ok!" << endl;
			else if (C < 2000)
				cout << "Need more!" << endl;
		}else if ((M == 7) && (N <= 11))
		{
			if (C > 2000)
				cout << "^_^" << endl;
			else if (C == 2000)
				cout << "Ok!" << endl;
			else if (C < 2000)
				cout << "Need more!" << endl;
		}
		M = 0; D = 0; C = 0;
	}
	return 0;
}
